package com.example.wxminiprogram.service.GoodsServiceImpl;

import com.example.wxminiprogram.mapper.ShopMapper;
import com.example.wxminiprogram.pojo.Shop;
import com.example.wxminiprogram.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopSetviceImpl implements ShopService {
    @Autowired
    ShopMapper shopMapper;
    @Override
    public List<Shop> listShopToSeller(Integer seller_id){
        return this.shopMapper.getBySellerId(seller_id);
    }
}
